package com.pengshun.modules.api.coal.result;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;
import java.math.BigDecimal;
import java.math.BigInteger;

@Data
public class CoalPriceDate implements Serializable {

    private Long id;

    private BigDecimal coalPrice;

    private String priceUnit;

    private String date;

    private String name;

    private Integer mouth;

    private  String day;
    private  String xdesc;

    private  Integer nowDay;
    private BigDecimal stageiaPrice;
    private BigDecimal lastYearPrice;
    private String ringThan;
    private String ringThanPercent;
    private String sameThan;
    private String sameThanPercent;
    private String riseAndFall;
    private String riseAndFallPercent;

    public CoalPriceDate(Long id, BigDecimal coalPrice, String priceUnit, String date) {
        this.id = id;
        this.coalPrice = coalPrice;
        this.priceUnit = priceUnit;
        this.date = date;
    }

    public CoalPriceDate(BigDecimal coalPrice, String priceUnit, String date) {
        this.coalPrice = coalPrice;
        this.priceUnit = priceUnit;
        this.date = date;
    }

    public CoalPriceDate() {
    }

    public CoalPriceDate(BigDecimal coalPrice, String date) {
        this.coalPrice = coalPrice;
        this.date = date;
    }

    public CoalPriceDate(String date) {
        this.date = date;
    }
}
